package com.aitoedu.server.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "提交作业时传递的数据模型")
public class SubmitDTO {
    @Schema(description = "题目标识id")
    private Long questionId;

    @Schema(description = "非判断答案(如果为填空，则没写的空值为null))")
    private List<String> answers;

    @Schema(description = "判断答案")
    @JsonProperty(value = "aJudge")
    private Integer aJudge;
}
